from tkinter import *
root=Tk()
root.geometry('500x500')
root.title('program_7_1.py')
canvas=Canvas(bg='#DAA520',width=500,height=500)
canvas.pack(anchor=CENTER,expand=1)
x=int(input('write x'))
y=int(input('write y'))
N=int(input('write N'))
coords=[0,0,10,0,10,10,20,10,20,0,30,0,30,20,0,20]
for i in range(len(coords)):
    coords[i]*=N
for i in range(len(coords)):
    if i%2==0:
        coords[i]+=x
    else:
        coords[i]+=y
canvas.create_polygon(coords,fill='#00BFFF',outline='#ADFF2F')
root.mainloop()